Skip to content

Remove deprecated Paginator - #12589

Merged
greg0ire merged 1 commit into
doctrine:4.0.xfrom
seb-jean:paginator-depreciations
Sep 1, 2026
Merged

Remove deprecated Paginator#12589
greg0ire merged 1 commit into
doctrine:4.0.xfrom
seb-jean:paginator-depreciations

Conversation

@seb-jean

@seb-jean seb-jean commented Aug 30, 2026

Copy link
Copy Markdown

Follow-up to #12561, as suggested in #12561 (comment).

Removes Paginator, deprecated in 3.7 in favor of OffsetPaginator, and moves HINT_ENABLE_DISTINCT to PaginatorInterface. Tests are ported to OffsetPaginator; UPGRADE.md covers the behaviour changes.

@seb-jean
seb-jean force-pushed the paginator-depreciations branch from e0133a2 to dd1ff31 Compare August 30, 2026 10:32
Comment thread src/Tools/Pagination/PaginatorInterface.php
Comment thread docs/en/reference/second-level-cache.rst
Use `OffsetPaginator` instead. `Paginator::HINT_ENABLE_DISTINCT`, deprecated in
3.7 in favor of `PaginatorInterface::HINT_ENABLE_DISTINCT`, goes away with it.
@seb-jean
seb-jean force-pushed the paginator-depreciations branch from dd1ff31 to f0f273a Compare August 30, 2026 13:40
@greg0ire greg0ire added this to the 4.0.0 milestone Sep 1, 2026
@greg0ire
greg0ire merged commit fb7572b into doctrine:4.0.x Sep 1, 2026
40 checks passed
@greg0ire

greg0ire commented Sep 1, 2026

Copy link
Copy Markdown
Member

Thanks @seb-jean !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants